#!/usr/bin/php
<?php

require_once(dirname(__FILE__)."/../src_v2/classes/init.php");

$email = 'piotr.czarnyaa@blok4-db.dk';
echo "email valid($email) = ", Helpers::validate_email( $email ), "\n";

$email = 'Glambo.asdfsadf.dk.com';
echo "email valid($email) = ", Helpers::validate_email( $email ), "\n";

$sn = 'Master Blaster';
echo "screen_name valid($sn) = ", Helpers::validate_screen_name( $sn ), "\n";

$sn = '_Master Blaster';
echo "screen_name valid($sn) = ", Helpers::validate_screen_name( $sn ), "\n";

$sn = 'Master+Blaster09';
echo "screen_name valid($sn) = ", Helpers::validate_screen_name( $sn ), "\n";



?>